package com.spring.demo.controller;

import org.springframework.stereotype.Controller;

@Controller //将当前类存储到 Spring 容器中
public class StudentController {

    public void sayHi() {
        System.out.println("do studentController sayHi()");
    }
}
